﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - My ASP.NET MVC Application</title>
        <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" rel="stylesheet" type="text/css" />
        <!--script src="@Url.Content("~/Scripts/jquery-1.6.4.min.js")" type="text/javascript"></script-->
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/AjaxLogin.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/timePicker.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/Script.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>

        <meta name="viewport" content="width=device-width">
    </head>
    <body>
    @using SchoolProject2012.Langue;
        <header>
                <h1>INGESUP</h1>
                <div class="langue">
                    @Html.ActionLink("FR", null, new { langue = "fr" }, new { @class = "lang" }) || @Html.ActionLink("EN", null, new { langue = "en" }, new { @class = "lang" })
                </div>
                @if (Session["login"] == null)
                {
                    @Html.ActionLink(Resources.connexion, "Connexion", new { area = "Shared", controller = "log", langue = ViewBag.langue }, new { id = "log" })
                }
                else
                {
                    @Html.ActionLink(Resources.deconnexion, "Deconnexion", new { area = "Shared", controller = "log", langue = ViewBag.langue }, new { id = "log" });
                }
        </header>
        <section id="left">
             <ul id="social">
                <li><a href="http://facebook.com" class="facebook">Facebook</a></li>
                <li><a href="http://twitter.com" class="twitter">Twitter</a></li>
             </ul>
        </section>
        <section id="right">
            <div id="prev"><span></span></div>
            <div id="next"><span></span></div>
            <div id="page">@RenderBody()</div>
        </section>
        <footer>
            <p>&copy; @DateTime.Now - My ASP.NET MVC Application</p>
             
        </footer>
    </body>
</html>
